Skip to content

Shell-quote values interpolated into Buildkite pipeline commands - #2824

Merged
meteorcloudy merged 1 commit into
bazelbuild:masterfrom
h1-mrz:fix-bazelci-pipeline-quote
Sep 9, 2026
Merged

Shell-quote values interpolated into Buildkite pipeline commands#2824
meteorcloudy merged 1 commit into
bazelbuild:masterfrom
h1-mrz:fix-bazelci-pipeline-quote

Conversation

@h1-mrz

@h1-mrz h1-mrz commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #2666: apply shlex.quote consistently to the remaining pipeline-command builders so every value interpolated into a project_pipeline command line is quoted the same way.

  • create_config_validation_steps: quote --file_config (the config file name comes from the PR's modified files)
  • upload_project_pipeline_step: quote project_name, git_repository, http_config, file_config and git_commit instead of manual double quotes / raw interpolation

Updates the corresponding test expectation to the shlex.quote style.

@h1-mrz

h1-mrz commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Hi @Wyverald @fweikert @meteorcloudy,
Following up on this PR, it's been about 2 weeks with no review yet. Could someone take a look when you get a chance? Happy to address any feedback. Thanks!

@meteorcloudy meteorcloudy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@meteorcloudy
meteorcloudy enabled auto-merge (squash) September 9, 2026 13:56
Follow-up to bazelbuild#2666: apply shlex.quote consistently to the remaining
pipeline-command builders so every value interpolated into a
project_pipeline command line is quoted the same way:

- create_config_validation_steps: quote --file_config (the config file
  name comes from the PR's modified files)
- upload_project_pipeline_step: quote project_name, git_repository,
  http_config, file_config and git_commit instead of manual double
  quotes / raw interpolation

Updates the corresponding test expectation to the shlex.quote style.
@meteorcloudy
meteorcloudy force-pushed the fix-bazelci-pipeline-quote branch from 5490167 to d246f9c Compare September 9, 2026 14:15
@meteorcloudy
meteorcloudy merged commit 130fb53 into bazelbuild:master Sep 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants